home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / qh_pending.c < prev    next >
Text File  |  1993-08-08  |  491b  |  14 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <process.h>
  6. include <debug.h>    /* DELETE */
  7. nt queue_head::pending()
  8.  
  9.    if (debug) /*DELETE*/ cerr << "queue_head" << this << "::pending()\n";
  10.    if (debug) /*DELETE*/ cerr << "\trd_count == " << rd_count() << "\n";
  11.    if (debug) /*DELETE*/ cerr << "<<<< queue_head::pending() <- " << (rd_count() == 0) << "\n";
  12.    return rd_count() == 0;
  13.  
  14.